from django.db import models

# Create your models here.

class Teacher(models.Model):
    name = models.CharField(max_length=50, verbose_name='姓名')
    age = models.IntegerField(verbose_name='年龄')

    class Mete:
        db_table = 'teacher'

class Stu(models.Model):
    name = models.CharField(max_length=50)
    socre = models.IntegerField()
    
    class Mete:
        da_table = 'stu'